home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#21 (Jun 87)
/
IconApp source
/
IconApp_rscs.Asm
< prev
next >
Wrap
Assembly Source File
|
1987-03-26
|
3KB
|
117 lines
; IconApp_rscs.ASM
RESOURCE 'INAP' 0 'IDENTIFICATION'
DC.B 15, 'ICON RETRIEVER '
.ALIGN 2
RESOURCE 'BNDL' 128 'BUNDLE'
DC.L 'INAP' ;NAME OF SIGNATURE
DC.W 0,1 ;DATA (DOESN'T CHANGE)
DC.L 'ICN#' ;ICON MAPPINGS
DC.W 0 ;NUMBER OF MAPPINGS-1
DC.W 0,128 ;MAP 0 TO ICON 128
DC.L 'FREF' ;FREF MAPPINGS
DC.W 0 ;NUMBER OF MAPPINGS-1
DC.W 0,128 ;MAP 0 TO FREF 128
RESOURCE 'FREF' 128 'FREF 1'
DC.B 'APPL', 0, 0, 0
.ALIGN 2
RESOURCE 'ICN#' 128 'MY ICON'
; APPLICATION ICON BIT MAP
DC.L $00000000,$00000000,$3FFFFFFC,$35555554
DC.L $2AAAAAAC,$35555554,$2AAAAAAC,$35FFFFD4
DC.L $2B0000AC,$354000D4,$2B4000AC,$355800D4
DC.L $2B5000AC,$355000D4,$2B1380AC,$351A80D4
DC.L $2B0280AC,$3502A0D4,$2B03B2AC,$35002AD4
DC.L $2B0026AC,$350022D4,$2B0000AC,$350000D4
DC.L $2BFFFFAC,$35555554,$2AAAAAAC,$35555554
DC.L $2AAAAAAC,$3FFFFFFC,$00000000,$00000000
*
DC.L $00000000,$00000000,$3FFFFFFC,$3FFFFFFC
DC.L $3FFFFFFC,$3FFFFFFC,$3FFFFFFC,$3FFFFFFC
DC.L $3FFFFFFC,$3FFFFFFC,$3FFFFFFC,$3FFFFFFC
DC.L $3FFFFFFC,$3FFFFFFC,$3FFFFFFC,$3FFFFFFC
DC.L $3FFFFFFC,$3FFFFFFC,$3FFFFFFC,$3FFFFFFC
DC.L $3FFFFFFC,$3FFFFFFC,$3FFFFFFC,$3FFFFFFC
DC.L $3FFFFFFC,$3FFFFFFC,$3FFFFFFC,$3FFFFFFC
DC.L $3FFFFFFC,$3FFFFFFC,$00000000,$00000000
.ALIGN 2
RESOURCE 'ICON' 128 'THE ICON'
; GENERIC APPLICATION ICON BIT MAP
DC.L $00010000,$00028000,$00044000,$00082000
DC.L $00101000,$00200800,$00400400,$00800200
DC.L $01000100,$02000080,$04000040,$08000020
DC.L $10000010,$20000008,$40003F04,$80004082
DC.L $40008041,$20013022,$1001C814,$080E7F8F
DC.L $04023007,$02010007,$01008007,$00806007
DC.L $00401FE7,$0020021F,$00100407,$00080800
DC.L $00041000,$00022000,$00014000,$00008000
*
DC.L $00010000,$00038000,$0007C00,$0000FE000
DC.L $001FF000,$003FF800,$007FFC0,$000FFFE00
DC.L $01FFFF00,$03FFFF80,$07FFFFC,$00FFFFFE0
DC.L $1FFFFFF0,$3FFFFFF8,$7FFFFFF,$CFFFFFFFE
DC.L $7FFFFFFF,$3FFFFFFE,$1FFFFFF,$C0FFFFFFF
DC.L $07FFFFFF,$03FFFFFF,$01FFFFF,$F00FFFFFF
DC.L $007FFFFF,$003FFE1F,$001FFC0,$7000FF800
DC.L $0007F000,$0003E000,$0001C00,$000008000
.ALIGN 2
RESOURCE 'DLOG' 160 'Icon Dialog'
DC.W 107,122,227,376 ;BoundsRect
DC.W 1 ; Dialog box w/ outline
DC.B 1,1 ; Visible
DC.B 0,0 ; NoGoAway
DC.L 0 ; RefCon
DC.W 160 ; DITL ResID
DC.B 'Icon..' ; Title
.ALIGN 2
RESOURCE 'DITL' 160 'Icon..'
STRING_FORMAT 2
DC.W 3 ;3 Items (4-1=3)
DC.L 0 ; handle holder
DC.W 86,194,115,248 ; BoundsRect
DC.B 4 ; Button #1
DC.B 'Quit' ; title
DC.L 0 ; handle holder
DC.W 86,106,115,185 ; BoundsRect
DC.B 4 ; button #2
DC.B 'Icons..' ; title
DC.L 0 ; handle holder
DC.W 60,78,76,241 ; BoundsRect
DC.B 8 ; statictext #1
DC.B ''
DC.L 0 ; handle holder
DC.W 60,3,76,76 ; BoundsRect
DC.B 8 ; statictext #2
DC.B 'File Name:'
STRING_FORMAT 0 ; normal